import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {FinanceManagementComponent} from './finance-management.component';
const routes: Routes = [
    {path: '', component: FinanceManagementComponent,
        children: [
            {path: '', redirectTo: 'fin-finance-manage', pathMatch: 'full'},
            // this line is use for generator path, don't remove
            {path: 'fin-reconciliation-manage', loadChildren: './fin-reconciliation-manage/fin-reconciliation-manage.module#FinReconciliationManageModule'},
            {path: 'fin-finance-manage', loadChildren: './fin-finance-manage/fin-finance-manage.module#FinFinanceManageModule'},
        ]
    }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class FinanceManagementRoutingModule {
}
